#ifndef _ASTAR_
#define _ASTAR_

typedef struct tagAsPart
{
    short x, y;
    short f, g, h;
    int valid;
    struct tagAsPart *parent;
} AsPart;

void AddNewPart(short x, short y, AsPart* parent);
int GetNextDirection(short startX, short startY, short endX, short endY);

#endif